package com.sigmatrix.h5.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix="wx.small.program")
@EnableConfigurationProperties
public class WxSmallProgramProperties {
	/**
	 * appid：	wx4fddc43e084624df   
	 * grant_type：client_credential
	 * 秘钥：f481d4149272f0d9e2d1936bca32bb9b   
	 * 模板消息id: 1UhULLdlAg_Y-3prwHeCQY9f7ZyBv5lGzjhuzPR1sa4
	 */
	
	private String appId;
	
	private String grantType;
	
	private String secret;
	
	private String templateId;

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getGrantType() {
		return grantType;
	}

	public void setGrantType(String grantType) {
		this.grantType = grantType;
	}

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public String getTemplateId() {
		return templateId;
	}

	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}
}
